package com.dao;

import com.entity.Payment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PaymentDao {
    int add(Payment payment);

    Payment findById(Long id);

    List<Payment> findAll();
}
